package com.itheima.pojo;

import java.io.Serializable;

public class Food implements Serializable {

    private Integer foodId;//主键id
    private String foodName;//膳食名称
    private String foodExplain;//膳食说明
    private String foodSize;//食用尺寸
    private String age;//适用年龄
    private Integer energy;//食品能量
    private Integer  proteinContent;//蛋白质含量

    public Food(Integer foodId, String foodName, String foodExplain, String foodSize, String age, Integer energy, Integer proteinContent) {
        this.foodId = foodId;
        this.foodName = foodName;
        this.foodExplain = foodExplain;
        this.foodSize = foodSize;
        this.age = age;
        this.energy = energy;
        this.proteinContent = proteinContent;
    }

    public Food(String foodName, String foodExplain, String foodSize, String age) {
        this.foodName = foodName;
        this.foodExplain = foodExplain;
        this.foodSize = foodSize;
        this.age = age;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodExplain() {
        return foodExplain;
    }

    public void setFoodExplain(String foodExplain) {
        this.foodExplain = foodExplain;
    }

    public String getFoodSize() {
        return foodSize;
    }

    public void setFoodSize(String foodSize) {
        this.foodSize = foodSize;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Integer getEnergy() {
        return energy;
    }

    public void setEnergy(Integer energy) {
        this.energy = energy;
    }

    public Integer getProteinContent() {
        return proteinContent;
    }

    public void setProteinContent(Integer proteinContent) {
        this.proteinContent = proteinContent;
    }
}

